package com.epfresh.views.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;

import com.epfresh.R;
import com.epfresh.api.utils.LocalDisplay;

public class MoreDcTipsDialog extends Dialog {


    public MoreDcTipsDialog(Context context) {
        super(context);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
//        getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
        setCanceledOnTouchOutside(true);
//        setOnDismissListener(new OnDismissListener() {
//            @Override
//            public void onDismiss(DialogInterface dialog) {

//            }
//        });


        View v = LayoutInflater.from(getContext()).inflate(R.layout.dialog_more_dc,null);

        int height = context.getResources().getDimensionPixelSize(R.dimen.tips_height) + LocalDisplay.SCREEN_WIDTH_PIXELS * 1 / 4;

        setContentView(v);



    }


}